class_name ItemUpgrade
extends ItemBase

@export var value: float
@export var description: String
@export var stat_id: String

func apply_upgrade() -> void:
	var current_value := Global.player.stats.get(stat_id) as float
	Global.player.stats.set(stat_id, value + current_value)
